package com.ruoyi.hatha.domain;

import com.ruoyi.common.core.domain.entity.SysUser;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.data.annotation.Transient;

/**
 * 核销记录对象 p_hexiaojilu
 * 
 * @author ruoyi
 * @date 2024-04-02
 */
public class PHexiaojilu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 所属门店 */
    @Excel(name = "所属门店")
    private Long mid;

    /** 员工 */
    @Excel(name = "员工")
    private Long uid;

    /** 消费者 */
    @Excel(name = "消费者")
    private Long buyid;

    /** 课程 */
    @Excel(name = "课程")
    private Long kid;

    /** 消息 */
    @Excel(name = "消息")
    private String msg;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    @Transient
    private PKecheng kecheng;

    @Transient
    private SysUser user;

    public PKecheng getKecheng() {
        return kecheng;
    }

    public void setKecheng(PKecheng kecheng) {
        this.kecheng = kecheng;
    }

    public SysUser getUser() {
        return user;
    }

    public void setUser(SysUser user) {
        this.user = user;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMid(Long mid) 
    {
        this.mid = mid;
    }

    public Long getMid() 
    {
        return mid;
    }
    public void setUid(Long uid) 
    {
        this.uid = uid;
    }

    public Long getUid() 
    {
        return uid;
    }
    public void setBuyid(Long buyid) 
    {
        this.buyid = buyid;
    }

    public Long getBuyid() 
    {
        return buyid;
    }
    public void setKid(Long kid) 
    {
        this.kid = kid;
    }

    public Long getKid() 
    {
        return kid;
    }
    public void setMsg(String msg) 
    {
        this.msg = msg;
    }

    public String getMsg() 
    {
        return msg;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mid", getMid())
            .append("uid", getUid())
            .append("buyid", getBuyid())
            .append("kid", getKid())
            .append("msg", getMsg())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .toString();
    }
}
